package com.dragon.utilslibrary.dblib;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

public class DBOpenHelper extends SQLiteOpenHelper {
    private static final String DBNAME = "test.db";
    private static final int VERSION = 1;  
    public DBOpenHelper(Context context) {
         super(context, DBNAME, null, VERSION);//it's location is data/data/pakage/database  
    }  
    public DBOpenHelper(Context context, String dbName) {
    	super(context, dbName, null, VERSION);//it's location is data/data/pakage/database  
    }  
  
    @Override
    public void onCreate(SQLiteDatabase db) {//It will be called when the database was created first
      
    }  
  
    @Override  // It'll be called when the database was updated
    public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
    	
    }  
}